package com.pubinfo.passbook.common.model.dto.system;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@ApiModel(value = "OperationLogListParam", description = "系统操作日志列表参数")
public class OperationLogListParam extends PageParamBase {
  @ApiModelProperty(value = "用户名称 ")
  protected String username;
  @ApiModelProperty(value = "ip")
  protected String ip;
  @ApiModelProperty(value = "方法名")
  protected String method;
  @ApiModelProperty(value = "操作名")
  protected String operation;
  @JSONField(format = "yyyy-MM-dd HH:mm:ss.SSS")
  @ApiModelProperty(value = "开始时间")
  protected Date startDate;
  @JSONField(format = "yyyy-MM-dd HH:mm:ss.SSS")
  @ApiModelProperty(value = "结束时间")
  protected Date endDate;
}
